package com.shareyi.joywindow;

public interface JoyWindowIntf {

/**
 * set Window size 
 * @param width
 * @param height
 */
	public void initWindow(WindowConfig config);
	
	/**
	 * 
	 * @param sessionId
	 * @return is SessionId in sessionId list
	 */
	public boolean checkSessionId(String sessionId);
	

	
	/**
	 * close webkit window 
	 */
	public void closeWindow();
	
	public void openWindow();
	
	public void init() throws Exception;
	
	public void alertMsg(String msg);
	
	public String getSavePath(boolean filter,final String[] filterExtensions,String[] filterNames);
	public String getSavePath(final String parentPath,boolean filter,final String[] filterExtensions,String[] filterNames);
	
	public String getDirectoryPath(final String path);
	
	public String getOpenPath(final boolean filter,final String[] filterExtensions,final String[] filterNames);

	public String getOpenPath(final String parentPath,final boolean filter,final String[] filterExtensions,final String[] filterNames);

}
